package com.iot.service;

import com.iot.model.dto.UserInfoDto;
import com.iot.model.entity.UserInfoEntity;
import com.iot.model.query.UserInfoQuery;
import com.iot.commons.ResponseResult;
import com.iot.model.vo.UserInfoVo;

import java.util.List;

/**
 * UserInfoService
 * @author: dh
 * @date: 2024-04-20 17:20:48
 */
public interface UserInfoService {

    ResponseResult getList(UserInfoQuery userInfo);

    ResponseResult edit(UserInfoDto userInfo);

    ResponseResult cid(UserInfoDto userInfo);

    ResponseResult cidClear();

    ResponseResult editByAuthId(UserInfoDto userInfo);

    ResponseResult add(UserInfoDto userInfo);

    ResponseResult getById(UserInfoQuery userInfo);

    UserInfoEntity getByUid(Long uid);

    UserInfoVo getByAuthId(Long authId);

    Integer getShareStatus(Long authId);

    UserInfoEntity getByPhone(String phone);

    List<UserInfoEntity> getByAuthIds(List<Long> authIds);
}
